<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"><!--ie使用edge渲染模式-->
    <meta name="renderer" content="webkit"><!--360渲染模式-->
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=no">
    <title>退还保证金</title>
    <link rel="stylesheet" href="../css/basic.css">
    <style type="text/css">
        .main-body-area{
            color: #666;
        }
        .register-info-area {
            height: auto;
            width: 90%;
            margin: auto;
            font-size: 0.28rem;
        }

        .register-info-area ul li {
            position: relative;
            height: 1.2rem;
            width: 100%;
            border-bottom: 1px solid #e3e3e3;
        }
        .li-type {
            line-height: 1.6rem;
            display: block;
            font-size: 0.28rem;
            height: 100%;
            width: 30%;
            left: 0;
        }

        .input-one {
            letter-spacing: 0.02rem;
            font-size: 0.3rem !important;
            color: #666;
        }
        .input-two{
            padding: 0 !important;
            width: 77% !important;
        }
        .input-area {
            background-color: transparent;
            font-size: 0.28rem;
            width: 70%;
            position: absolute;
            right: 0;
            bottom: 0.13rem;
            height: 0.5rem;
            padding-left: 6%;
            outline: none;
        }

        .agreement a {
            position: absolute;
            left: 0.5rem;
            top: 0.1rem;
            color: #666;
            font-size: 0.28rem;
        }
        .upload-btn-area {
            width: 50%;
            height: 0.8rem;
            margin: 0.5rem auto;
        }

        .upload-btn {
            height: 100%;
            width: 100%;
            background-color: #FF0042;
            border-radius: 10px;
            outline: none;
            color: white;
            font-size: 0.28rem;
        }
        .widthDraw-area {
            padding: 0.3rem 0;
            width: 84%;
            height: auto;
            margin: auto;
        }
        .area-top {
            position: relative;
            width: 100%;
            height: 0.8rem;
            /*background-color: #ABABAB;*/
        }

        .area-top span, .area-bottom span {
            line-height: 0.8rem;
            float: left;
        }

        .area-bottom {
            position: relative;
            width: 100%;
            height: 0.8rem;
        }
        .checkbox-area {
            float: right;
            width: 0.2rem;
            height: 0.2rem;
            position: relative;
            margin-top: 0.3rem;
        }
        #checkboxInputOne, #checkboxInputTwo {
            display: none;
        }

        .checkbox-area label {
            display: block;
            width: 100%;
            height: 100%;
            -webkit-transition: all .5s ease;
            -moz-transition: all .5s ease;
            -o-transition: all .5s ease;
            -ms-transition: all .5s ease;
            transition: all .5s ease;
            cursor: pointer;
            z-index: 1;
            background: snow;
            border: 1px solid #EE2C2C;
        }

        .checkbox-area input[type=checkbox]:checked + label {
            background: #EE2C2C;
        }
        .toPage-area{
            width: 100%;
            height: 0.6rem;
            margin: auto;
            border-top: 1px solid #e3e3e3;
        }
    </style>
    <script src="../lib/basicSize.js"></script>
</head>
<body>
<!--导航-->
<div class="top-nav-area">
    <ul>
        <a class="back-a" href="javascript:history.back(-1)"></a>
        <li>退还保证金</li>
    </ul>
</div>
<!--主体-->
<div class="main-body-area">
    <div class="register-info-area">
        <ul>
            <li>
                <span class="li-type">已缴纳保证金：</span>
                <input class="input-area input-one" readonly type="text" value="4000.00元">
            </li>
            <li>
                <span class="li-type" style="width: 23%">退还金额</span>
                <input class="input-area input-two" type="text" placeholder="请输入退还金额">
            </li>
        </ul>
        <div class="widthDraw-area">
            <div class="checkArea area-top">
                <span>提现到微信红包</span>
                <section>
                    <div class="checkbox-area">
                        <input type="checkbox" value="1" id="checkboxInputOne" name="checkBoxJudge" checked/>
                        <label for="checkboxInputOne"></label>
                    </div>
                </section>
            </div>
            <div class="checkArea area-bottom">
                <span>提现到银行卡</span>
                <section>
                    <div class="checkbox-area">
                        <input type="checkbox" value="2" id="checkboxInputTwo" name="checkBoxJudge"/>
                        <label for="checkboxInputTwo"></label>
                    </div>
                </section>
            </div>
        </div>
        <div class="toPage-area"></div>
        <div class="upload-btn-area">
            <button class="upload-btn">提交</button>
        </div>
    </div>
</div>
<script src="../lib/jquery/jquery.min.js"></script>
<script src="../lib/check/jquery-1.7.2.min.js"></script>
<script>
    $(document).ready(function () {//单选
        $("input[name='checkBoxJudge']:checkbox").click(function(){
            if($(this).is(':checked')){
                //console.log($(this).attr('id'))
                if($(this).attr('id') === 'checkboxInputOne'){
                    $('#checkboxInputTwo').attr('checked',false);
                    $('#checkboxInputOne').attr('checked',true);
                }else{
                    $('#checkboxInputTwo').attr('checked',true);
                    $('#checkboxInputOne').attr('checked',false);
                }
            }else{
                $('#checkboxInputTwo').attr('checked',false);
                $('#checkboxInputOne').attr('checked',false);
            }
        });
    });
</script>
</body>
</html>